import {
  COUNTER_DECR,
  COUNTER_INCR
} from '../contants'

// 定义操作
export const incr = () => ({
  type: COUNTER_INCR,
  payload: 1
})

export const decr = () => ({
  type: COUNTER_DECR,
  payload: 1
})